Listing 3 illustrates how to get application access keys of a particular type.
OSErr myErr = 0;
Str255 keyType = doomCDKeyType;
long flags = 0;
handle keyHdl;
/* handle initialization here */
myErr = QTGetAccessKeys (keyType, flags, keyHdl);
| Previous | Chapter Contents | Chapter Top | Next |